package com.five.wisdomEat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.five.wisdomEat.entity.DishesType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DishesTypeMapper extends BaseMapper<DishesType> {
    //查询所有菜品类型
    @Select("SELECT * FROM dishes_type")
    List<DishesType> selectDishesTypeList();
}
